import { get, post } from '../utils/request'

// 查询单个分析报告
export const getAnalysisReportOne = function (params) {
    return get('/analysis/getAnalysisReportOne', params)
}

// 分页查询多个分析报告
export const getAnalysisReportListByPage = function (params) {
    return get('/analysis/getAnalysisReportListByPage', params)
}

//根据条件查询多个分析报告
export const getAnalysisReportList = function (params) {
    return get('/analysis/getAnalysisReportList', params)
}

//预览单个分析报告
export const viewAnalysisReport = function (params) {
    return get('/analysis/viewAnalysisReport', params)
}

//下载分析报告
export const downloadAnalysisReport = function (params) {
    return get('/analysis/downloadAnalysisReport', params)
}

//发送邮件
export const sendMail = function (params) {
    return get('/analysis/sendMail', params)
}